export const Local = {
	set(key, val) {
		uni.setStorageSync(key, val);
	},
	get(key) {
		return uni.getStorageSync(key);
	},
	remove(key) {
		uni.removeStorageSync(key);
	},
	setToken(val) {
		uni.setStorageSync('token', val);
	},
	getToken() {
		return uni.getStorageSync('token');
	},
	clear() {
		uni.removeStorageSync('token');
		uni.removeStorageSync('userInfo');
	},
};
